﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using CoolEngine.Gui;
using Microsoft.Xna.Framework.Content;

namespace CoolEngine.Engine
{
    public static class GameManager
    {
        public static CoolGame Game { get; set; }
        public static GuiRenderer GuiRenderer { get; set; }
        public static Camera Camera { get; set; }
        public static ContentManager Content { get { return Game.Content; } }
        public static GameState GameState { get; set; }
        public static GraphicsDevice GraphicsDevice
        {
            get
            {
                if (Game == null) return null;
                return Game.GraphicsDevice;
            }
        }
    }
}
